﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using Microsoft.Practices.Prism.ViewModel;
using System.Collections.ObjectModel;
using HSE.Common;

namespace HSE
{
    public class Whyl_SsdtViewModel : NotificationObject
    {
        private ObservableCollection<PhotoInfo> _photos;
        public ObservableCollection<PhotoInfo> Photos
        {
            get
            {
                return this._photos;
            }

            set
            {

                this._photos = value;
                this.RaisePropertyChanged("Photos");
            }
        }

        public Whyl_SsdtViewModel()
        {
            ObservableCollection<PhotoInfo> temps = new ObservableCollection<PhotoInfo>();
            temps.Add(new PhotoInfo() { TipInfo = "2013.8.3大牛地ZD023基层队岗前宣誓", Icon = "../Images/whyl/gqxs.jpg" });
            temps.Add(new PhotoInfo() { TipInfo = "2013.7.3中石化新员工宣誓", Icon = "../Images/whyl/xygxs1.jpg" });
            temps.Add(new PhotoInfo() { TipInfo = "2013.2.3鄂北ZD066基层队开钻宣誓", Icon = "../Images/whyl/xygxs1.jpg" });
            temps.Add(new PhotoInfo() { TipInfo = "2013.1.23大牛地项目部出队宣誓", Icon = "../Images/whyl/kzxs1.jpg" });
            temps.Add(new PhotoInfo() { TipInfo = "2013.6.3大牛地油气田亲情照片墙", Icon = "../Images/whyl/qqjy.jpg" });
            temps.Add(new PhotoInfo() { TipInfo = "2013.4.13先进工作者荣誉称号", Icon = "../Images/whyl/bz.jpg" });
            temps.Add(new PhotoInfo() { TipInfo = "2013.2.3鄂北ZD066基层队开钻宣誓", Icon = "../Images/whyl/xygxs1.jpg" });
            temps.Add(new PhotoInfo() { TipInfo = "2013.5.4大牛地项目部新员工宣誓", Icon = "../Images/whyl/xygxs2.jpg" });
            temps.Add(new PhotoInfo() { TipInfo = "2013.8.13大牛地ZD011钻井队开钻宣誓", Icon = "../Images/whyl/gqxs2.jpg" });
            temps.Add(new PhotoInfo() { TipInfo = "2013.3.23岗前宣誓", Icon = "../Images/whyl/gqxs1.jpg" });
            temps.Add(new PhotoInfo() { TipInfo = "2013.6.23录井公司岗前宣誓", Icon = "../Images/whyl/cdxs1.jpg" });
                this.Photos = temps;
        }

        
    }
}
